using System.Collections.Generic;

namespace ColladaDotNet
{
	public partial class glsl_surface_type : ColladaXmlNode
	{
		public override IList<ColladaXmlNode> ChildNodes
		{
			get
			{
				var list = new List<ColladaXmlNode>();
				if (init_from != null)
					foreach (object e in init_from) if (e is ColladaXmlNode) list.Add((ColladaXmlNode)e);
				if (extra != null)
					foreach (object e in extra) if (e is ColladaXmlNode) list.Add((ColladaXmlNode)e);
				if (generator != null)
					list.Add(generator);
				if (init_cube != null)
					list.Add(init_cube);
				if (init_volume != null)
					list.Add(init_volume);
				if (init_planar != null)
					list.Add(init_planar);
				if (format_hint != null)
					list.Add(format_hint);
				return list;
			}
		}
	}
}
